package com.tan.steamship.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tan.steamship.domain.OrdersPo;
import com.tan.steamship.vo.CartVo;
import com.tan.steamship.vo.OrderVo;

import java.util.List;

/**
* @author 85726
* @description 针对表【orders(订单信息表)】的数据库操作Service
* @createDate 2025-03-12 14:50:02
*/
public interface OrdersService extends IService<OrdersPo> {

    List<List<OrderVo>> getOrderByUserId(Integer userId);

    void addOrder(List<CartVo> cartVoList, Integer userId);
}
